//
//  FindPictureCollectionReusableView.m
//  Project_A Gary
//
//  Created by leilei on 16/4/9.
//  Copyright © 2016年 www.lei.com. All rights reserved.
//

#import "FindPictureCollectionReusableView.h"

@implementation FindPictureCollectionReusableView

-(void)dealloc
{
    [_titleLab release];
    [super dealloc];
    
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.titleLab = [[UILabel alloc] init];
        self.titleLab.textColor = [UIColor grayColor];
        self.titleLab.font = [UIFont systemFontOfSize:14];
        [self addSubview:self.titleLab];
        [_titleLab release];
        
    }
    return self;
}


- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{
    [super applyLayoutAttributes:layoutAttributes];
    self.titleLab.frame = CGRectMake(25, 5, 200, 30);
    
}




@end
